Package com.cisco.pt.ipc.sim.pdu.impl
Class CapwapControlMessageImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.CapwapControlMessageImpl
- All Implemented Interfaces:
IPCData,CapwapControlMessage,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CapwapControlMessageElement>protected Byteprotected Shortprotected Byteprotected intFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) getFlags()intgetType()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetElements(List<CapwapControlMessageElement> elements) voidvoidsetMsgLength(Short msgLength) voidvoidsetType(int type) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
type
protected int type -
seqNum
-
msgLength
-
flags
-
elements
-
-
Constructor Details
-
CapwapControlMessageImpl
public CapwapControlMessageImpl()
-
-
Method Details
-
getType
public int getType()- Specified by:
getTypein interfaceCapwapControlMessage- Returns:
- int Returns a int
-
setType
public void setType(int type) - Specified by:
setTypein interfaceCapwapControlMessage- Parameters:
type- Takes in a parameter of type
-
getSeqNum
- Specified by:
getSeqNumin interfaceCapwapControlMessage- Returns:
- Byte Returns a Byte
-
setSeqNum
- Specified by:
setSeqNumin interfaceCapwapControlMessage- Parameters:
seqNum- Takes in a parameter of seqNum
-
getMsgLength
- Specified by:
getMsgLengthin interfaceCapwapControlMessage- Returns:
- Short Returns a Short
-
setMsgLength
- Specified by:
setMsgLengthin interfaceCapwapControlMessage- Parameters:
msgLength- Takes in a parameter of msgLength
-
getFlags
- Specified by:
getFlagsin interfaceCapwapControlMessage- Returns:
- Byte Returns a Byte
-
setFlags
- Specified by:
setFlagsin interfaceCapwapControlMessage- Parameters:
flags- Takes in a parameter of flags
-
getElements
- Specified by:
getElementsin interfaceCapwapControlMessage- Returns:
- List<CapwapControlMessageElement> Returns a List<CapwapControlMessageElement>
-
setElements
- Specified by:
setElementsin interfaceCapwapControlMessage- Parameters:
elements- Takes in a parameter of elements
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-